s = '123456'
# 正索引打印135
print(s[0] + s[2] + s[4])
# 负索引打印135
print(s[-6] + s[-4] + s[-2])
